#pragma once
#include "GameDefine.h"
#include <list>
using namespace std;

class GameObject;
class System
{
protected:
	list<GameObject*> lObjects;	
public:
	System(void);
	~System(void);	
		
	void addObject(GameObject* com);
	void removeObject(GameObject* com);
	virtual void update();
	virtual void render();
};

